package com.matrix.draft.sockettest.day6;

import lombok.Data;

@Data
public class ConfigProperties {

    public ProviderProperties provider = new ProviderProperties();

    @Data
    public class ProviderProperties{
        private String host = "localhost";
        private Integer port = 8080;
        private Boolean openMasterSlaver = true;
    }

    public ConsumerProperties consumer = new ConsumerProperties();

    @Data
    public class ConsumerProperties{
    }
}
